<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>learn vue</title>
</head>
<body>
    <div id="app">
        <span>阿婆主: {{ name }}</span>
        <input type="text" v-model="name">
        <span>更多: {{ more.like }}</span>
        <input type="text" v-model="more.like">
    </div>

    <script src="./vue.js"></script>

    <script>
        const vm = new Vue({
            el: '#app',
            data: {
                name: '蛋老师',
                more: {
                    like: '一键三连'
                }
            }
        });
    </script>
</body>
</html>
